.mhy-switch {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 56px;
  height: 30px;
  font-size: 14px;
  cursor: pointer
}

.mhy-switch__track {
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  position: relative;
  background-color: #ccc
}

.mhy-switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  border-radius: 100%;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  width: 26px;
  height: 26px;
  background-color: #fff
}

.mhy-switch--checked .mhy-switch__track {
  background-color: #4cc3ff
}

.mhy-switch--checked .mhy-switch__track::after {
  left: 100%;
  margin-left: -28px
}

.mhy-switch--disabled .mhy-switch__track {
  opacity: 0.3
}